projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43d1bdf
)
(add_registry): Cast return value of alloca.
author
Jason Rumney
<jasonr@gnu.org>
Thu, 20 Mar 2008 14:16:56 +0000
(14:16 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Thu, 20 Mar 2008 14:16:56 +0000
(14:16 +0000)
nt/addpm.c
patch
|
blob
|
history
diff --git
a/nt/addpm.c
b/nt/addpm.c
index 8541c468b466099d23cc1ab64669684fa35000cc..52c2d32a95920505f84da27a65ff8e51ae0ef15f 100644
(file)
--- a/
nt/addpm.c
+++ b/
nt/addpm.c
@@
-97,7
+97,7
@@
add_registry (path)
HKEY gtk_key = NULL;
len = strlen (path) + 15; /* \bin\emacs.exe + terminator. */
- emacs_path = alloca (len);
+ emacs_path =
(char *)
alloca (len);
sprintf (emacs_path, "%s\\bin\\emacs.exe", path);
RegSetValueEx (hrootkey, NULL, 0, REG_SZ, emacs_path, len);